<template>
  <el-drawer
    size="50%"
    :close-on-click-modal="false"
    :with-header="true"
    :show-close="false"
  >
    <template #header>
      <span class="unselectable">添加Sku</span>
      <el-icon
        style="color: #000; font-size: 25px; filter: drop-shadow(0 0 3px #000)"
        @click="cancel($parent)"
      >
        <Close />
      </el-icon>
    </template>
  </el-drawer>
</template>

<script setup lang="ts">
//取消回调
function cancel(parent) {
  parent.drawer2 = false
}
</script>

<style scoped lang="scss"></style>

<script lang="ts">
export default {
  name: 'skuDrawer',
}
</script>
